package com.css.fxfzfxqh.modules.modelManagement.service;

import com.css.fxfzfxqh.modules.modelManagement.entity.EconomicLossesEntity;
import com.css.fxfzfxqh.modules.modelManagement.param.AddEconomicLossesParam;
import com.css.fxfzfxqh.modules.modelManagement.param.PagePersonnelCasualtiesParam;

import java.util.Map;

public interface EconomicLossesService {
    int getSizeByName(String modelName);

    void save(AddEconomicLossesParam param);

    Map<String, Object> page (PagePersonnelCasualtiesParam param, int curPage, int pageSize);

    void deleteById(String id);

    void updateById(AddEconomicLossesParam param);

    EconomicLossesEntity getById(String id);
}
